TARGET := cuda_mmm

.PHONY: all build clean local longhorn

all: longhorn

local:
	nvcc -O3 ${TARGET}.cu -o ${TARGET}

longhorn:
	nvcc -O3 -arch=sm_13 ${TARGET}.cu -o ${TARGET} -I$$TACC_PAPI_INC -L$$TACC_PAPI_LIB -lpapi

clean:
	-rm ${TARGET}